<div class="fleetTable bgNoRepeat interface_fleet_table_background">
	<table class="colorWhite width100">
		<colgroup>
			<col style="width: 124px;" />
			<col style="width: 48px;" />
			<col style="width: 48px;" />
			<col style="width: 48px;" />
			<col style="width: 48px;" />
			<col style="width: 48px;" />
			<col style="width: 48px;" />
			<col style="width: 48px;" />
			<col style="width: 48px;" />
			<col style="width: 48px;" />
			<col style="width: 48px;" />
			<col style="width: 48px;" />
			<col style="width: 48px;" />
		</colgroup>
	  <tbody class="colorGrey">
		<tr>
		  <td class="fontSize12 fontBold borderNone"><?php if (isset($label)) { echo $label; } else  { echo "&nbsp;"; } ?></td>

		  <td class="fontCenter"><img src="<?php echo HOST; ?>/resources/img/x.gif" id="ship_image_1"
		  class="ingameHelp fleet_<?php echo $fleetNumber; ?> fleetPos1 interface_ships_all3"
		  title="Zek" alt="Zek" rel="/help/ship/1" /></td>

		  <td class="fontCenter"><img src="<?php echo HOST; ?>/resources/img/x.gif" id="ship_image_5"
		  class="ingameHelp fleet_<?php echo $fleetNumber; ?> fleetPos2 interface_ships_all3"
		  title="Zekkon" alt="Zekkon" rel=
		  "/help/ship/5" /></td>

		  <td class="fontCenter"><img src="<?php echo HOST; ?>/resources/img/x.gif" id="ship_image_10"
		  class="ingameHelp fleet_<?php echo $fleetNumber; ?> fleetPos3 interface_ships_all3"
		  title="Xnair" alt="Xnair" rel=
		  "/help/ship/10" /></td>

		  <td class="fontCenter"><img src="<?php echo HOST; ?>/resources/img/x.gif" id="ship_image_6"
		  class="ingameHelp fleet_<?php echo $fleetNumber; ?> fleetPos4 interface_ships_all3"
		  title="Mylon" alt="Mylon" rel=
		  "/help/ship/6" /></td>

		  <td class="fontCenter"><img src="<?php echo HOST; ?>/resources/img/x.gif" id="ship_image_11"
		  class="ingameHelp fleet_<?php echo $fleetNumber; ?> fleetPos5 interface_ships_all3"
		  title="Maxtron" alt="Maxtron" rel=
		  "/help/ship/11" /></td>

		  <td class="fontCenter"><img src="<?php echo HOST; ?>/resources/img/x.gif" id="ship_image_7"
		  class="ingameHelp fleet_<?php echo $fleetNumber; ?> fleetPos6 interface_ships_all3"
		  title="Mutterschiff" alt="Mutterschiff" rel="/help/ship/7" /></td>

		  <td class="fontCenter"><img src="<?php echo HOST; ?>/resources/img/x.gif" id="ship_image_9"
		  class="ingameHelp fleet_<?php echo $fleetNumber; ?> fleetPos7 interface_ships_all3"
		  title="Siukon" alt="Siukon" rel="/help/ship/9" /></td>

		  <td class="fontCenter"><img src="<?php echo HOST; ?>/resources/img/x.gif" id="ship_image_8"
		  class="ingameHelp fleet_<?php echo $fleetNumber; ?> fleetPos8 interface_ships_all3"
		  title="Psikon" alt="Psikon" rel="/help/ship/8" /></td>

		  <td class="fontCenter"><img src="<?php echo HOST; ?>/resources/img/x.gif" id="ship_image_2"
		  class="ingameHelp fleet_<?php echo $fleetNumber; ?> fleetPos9 interface_ships_all3"
		  title="Macid" alt="Macid" rel=
		  "/help/ship/2" /></td>

		  <td class="fontCenter"><img src="<?php echo HOST; ?>/resources/img/x.gif" id="ship_image_3"
		  class="ingameHelp fleet_<?php echo $fleetNumber; ?> fleetPos10 interface_ships_all3"
		  title="Bomber" alt=
		  "Bomber" rel="/help/ship/3" /></td>

		  <td class="fontCenter"><img src="<?php echo HOST; ?>/resources/img/x.gif" id="ship_image_4"
		  class="ingameHelp fleet_<?php echo $fleetNumber; ?> fleetPos11 interface_ships_all3"
		  title="Octopon" alt="Octopon" rel="/help/ship/4" /></td>

		  <td class="fontCenter"><img src="<?php echo HOST; ?>/resources/img/x.gif" id="ship_image_12"
		  class="ingameHelp fleet_<?php echo $fleetNumber; ?> fleetPos12 interface_ships_all3"
		  title="Kolonieschiff" alt="Kolonieschiff" rel=
		  "/help/ship/12" /></td>
		</tr>
		<tr>
		  <td class="spacer" colspan="13"></td>
		</tr>
		<?php if (isset($units)) { ?>
		<tr>
			<td class="fontSize12 borderNone">Truppen</td>
			<?php 
				for ($i = 0; $i < count($units); $i++) {
					$unit = $units[$i];
					
					echo "<td class=\"fontSize12 fontCenter ";
					if ($unit > 0) {
						echo "fontBold";
					} else {
						echo "colorGrey";
					}
					echo "\">".$unit."</td>";
				}
			?>
		</tr>
		<tr>
		  <td class="spacer" colspan="13"></td>
		</tr>
		<?php } ?>
		<?php if (isset($unitLosses)) { ?>
		<tr>
			<td class="fontSize12 borderNone">Verluste</td>
			<?php 
				for ($i = 0; $i < count($unitLosses); $i++) {
					$unit = $unitLosses[$i];
					
					echo "<td class=\"fontSize12 fontCenter ";
					if ($unit > 0) {
						echo "fontBold";
					} else {
						echo "colorGrey";
					}
					echo "\">".$unit."</td>";
				}
			?>
		</tr>
		<?php } ?>
	  </tbody>
	</table>
</div>